package com.doubi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.doubi.entity.History;
import com.doubi.mapper.HistoryMapper;
import com.doubi.service.HistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HistoryServiceImpl extends ServiceImpl<HistoryMapper,History> implements HistoryService {
    @Autowired
    private HistoryMapper historyMapper;

    @Override
    public Integer recentlyHistory(List<Integer> rList, String dayNum,String dayNum2) {
        return historyMapper.recentlyHistory(rList,dayNum,dayNum2);
    }

    @Override
    public Integer todayLookNum(List<Integer> rList, String dayTime) {
        return historyMapper.todayLookNum(rList,dayTime);
    }
}
